<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <f:view>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>cita usuarios</title>
            <link type="text/css" href="../common/css/redmond/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
            <link type="text/css" href="../common/css/administrar.css" rel="stylesheet" />
            <link type="text/css" href="../common/css/ui.panel.css" rel="stylesheet" />

            <script type="text/javascript" src="../common/js/jquery-1.8.0.min.js"></script>
            <script type="text/javascript" src="../common/js/jquery-ui-1.8.23.custom.min.js"></script>
            <script type="text/javascript" src="../common/js/jquery.numeric.js"></script>
            <script type="text/javascript" src="../common/js/jquery.layout.js"></script>
            <script type="text/javascript" src="../common/js/jquery.validate.js"></script>
            <script type="text/javascript" src="../common/js/interface.js"></script>

            <script type="text/javascript" src="../common/js/logincita.js"></script>
            <script type="text/javascript" src="../common/js/messages_es.js"></script>
            <script type="text/javascript" src="../common/js/ui.panel.js"></script>

            <script type="text/javascript" src="../common/js/jquery.qtip-1.0.0-rc3.js"></script>

        </head>

        <body> 

            <table width="100%">
                <tr  class="ui-state-hover">

                    <td align="right">
                        <button id="ayudaBtn">Ayuda</button>               
                    </td>

                </tr>
            </table>  

            <div class="tooltips"></div>


            <div  id="pantalla-cita-login">

                <h3>Cita</h3>

                <table width="100%" cellpadding="0" cellspacing="0">

                    <tr>                                    

                        <td>
                            Documento
                        </td>

                        <td>
                            Nombre Completo
                        </td>

                        <td>
                            Edad
                        </td>

                        <td>
                            Sexo 
                        </td>    

                        <td>
                            Nivel
                        </td>

                    </tr>

                    <tr> 
                        <td>
                            <table width="100%" cellpadding="0" cellspacing="0">
                                <tr>

                                    <td>
                                        <input type="text" size="8" ondblclick="buscarPacienteCodigo()" maxlength="20" id="identificacion" value=""/>
                                        <input type="hidden" id="idpaciente" name="idpaciente" value="" />
                                        <input type="hidden" id="idmanual" value="" />

                                        <!--se sobreescribe con idcps-->
                                        <input type="hidden" id="idcontrato" value="" />
                                    </td>

                                    <td>  
                                        <inptut type="text" sise="2" id="id_tipo_ide" name="id_tipo_ide" value=""/>
                                    </td>

                                    <!--<td>                                        
                                        <img src="../common/img/user_search.png"  onclick="buscarPacienteCodigo()" style="cursor: pointer" alt="buscarPaciente" />                                                    
                                    </td>-->

                                    <td>
                                        <img src="../common/img/edit-clear.png" onclick="clearPacientecodigo()" style="cursor: pointer" alt="Eliminar" /> 
                                    </td>
                                </tr>
                            </table>
                        </td>

                        <td>
                            <input type="text" size="50" readonly="true" id="nombres" value="" />
                        </td>

                        <td>
                            <input type="text" size="8" readonly="true" id="edad" value=""/>
                        </td>


                        <td>
                            <input type="text" size="8" readonly="true" id="sexo" value=""/>

                        </td>

                        <td>
                            <input type="text" size="1" readonly="true" id="nivel" value=""/>

                        </td>

                    </tr>

                    <tr>
                        <td colspan="2">
                            Administradora
                        </td>

                        <td>
                            Afiliaci&oacute;n
                        </td> 

                        <td colspan="2">
                            Regimen
                        </td>                            


                    </tr>

                    <tr>

                        <td colspan="2" >
                            <input type="text" size="65" readonly="true" id="id_entidad" value="" />
                        </td>

                        <td>
                            <input type="text" size="8" readonly="true" id="tipoafiliado" value=""/>

                        </td> 

                        <td colspan="2">
                            <input type="text" size="14" readonly="true" id="regimen" value=""/>

                        </td>


                    </tr>


                </table>

                <table width="100%">
                    <tr>

                        <tr>
                            <td>    
                                Año de nacimiento:<input type="text" id="anonac" name="anonac" size="8" value="" />    
                                <input type="hidden" id="fecnac" name="fecnac" value=""/>
                                <button id="citausuarioBtn" onclick="validarLogin()">Aceptar</button>       
                            </td>
                        </tr>    

                    </tr>
                </table>  




                <!--Buscar Pacientes-->
                <!--<div id="dialogoBuscarPac" style="display: none" title="PACIENTES">


                    <div id="busquedaDivPac">
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr class="ui-widget-header">
                                <td>
                                    Identificaci&oacute;n
                                </td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                            </tr>
                            <tr class="ui-widget-header">                    
                                <td>
                                    <input onkeyup="validarBusquedaPac(1)" type="text" id="ide" size="16" maxlength="16"/>
                                </td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                            </tr>

                            <tr class="ui-widget-header">

                                <td>Primer Nombre</td>
                                <td>Segundo Nombre</td>
                                <td>Primer Apellido</td>
                                <td>Segundo Apellido</td>
                            </tr>
                            <tr>                    
                                <td>
                                    <input onkeyup="this.value=this.value.toUpperCase();validarBusquedaPac(2)" type="text" id="n1" size="15" maxlength="20"/>
                                </td>
                                <td>
                                    <input onkeyup="this.value=this.value.toUpperCase();validarBusquedaPac(2)" type="text" id="n2" size="15" maxlength="20"/>
                                </td>
                                <td>
                                    <input onkeyup="this.value=this.value.toUpperCase();validarBusquedaPac(2)" type="text" id="a1" size="15" maxlength="20"/>
                                </td>
                                <td>
                                    <input onkeyup="this.value=this.value.toUpperCase();validarBusquedaPac(2)" type="text" id="a2" size="15" maxlength="20"/>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="5" align="center">
                                    <input class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" id="buscarPac" type="button" value="Buscar"/>
                                </td>
                            </tr>

                        </table>
                    </div>


                    <div id="datosPac" style="display: none">
                    </div>

                </div>-->            

            </div>

            <div id="citas-form-usu" title="Info" style="display: none">                
            </div>


            <div class="qtip qtip-stylename">
                <div class="qtip-tip" rel="cornerValue"></div>
                <div class="qtip-wrapper">
                    <div class="qtip-borderTop"></div>
                    <div class="qtip-contentWrapper">
                        <div class="qtip-title">
                            <div class="qtip-button"></div>
                        </div>
                        <div class="qtip-content"></div>
                    </div>
                    <div class="qtip-borderBottom"></div>
                </div>
            </div>

        </body>
    </f:view>
</html>
